package com.sh.data.engine.application.model.request.api;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author : changkong
 * @date : 2023/6/7
 */
@Data
@Schema(description = "标签管理-请求体")
public class DataApiTagSaveRequest {

    @Schema(description = "当前操作的apiId")
    @NotNull
    private Long apiId;

    @Schema(description = "要新增的标签id")
    private List<Long> addTagList;

    @Schema(description = "要删除的标签id")
    private List<Long> deleteTagList;
}
